package com.huibo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ProductController {

	@GetMapping("/product/{pro}")
	public String getUser(@PathVariable("pro")String pro) {
		System.out.println(pro);
		return "商品："+pro;
	}
}
